<template>
  <div class="welcome">
    <div class="start">
      <div class="content">
        <div class="header">欢迎使用课堂派</div>
        <div class="detail">精彩教学，从这里开启</div>
        <div class="two-button">
          <button class="contact">联系课堂派</button>
          <button class="free">免费注册</button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.welcome {
  background-image: url("../../assets/img/footer/img.png");
  background-size: cover;
  background-position: 50%;
  height: 540px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 130px auto 0;
  display: flex;
  justify-content: center;
}

.start {
  position: absolute;
  top: 45px;
  width: 100%;
}

.content {
  width: 536px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.header {
  font-weight: 500;
  line-height: 54px;
  font-size: 61px;
  margin-top: 88px;
}

.detail {
  font-size: 28px;
  margin-top: 34px;
  margin-bottom: 37px;
}

.two-button {
  display: flex;
  justify-content: space-evenly;
}

button {
  width: 150px;
  height: 55px;
  text-align: center;
  line-height: 40px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 20px;
}

.contact {
  color: #fff;
  background: #5293ff;
  box-sizing: border-box;
  border: 1px solid #fff;
}

.free {
  border: cornsilk;
  background: #fff;
  color: #5293ff;
}
</style>